﻿Public Class pontuacaoVO


    Private _id_pontuacao As Integer
    Private _usuario As New usuarioVO
    Private _registro As New registroVO
    Private _pontuacao As Integer
    Private _tipo_ocorrencia As String
    Private _data_alteracao As DateTime
    '-------------------------------------
    ' MÉTODO CONSTRUTOR SEM PARAMETROS
    '-------------------------------------
    Sub New()

        _id_pontuacao = Nothing
        _usuario = Nothing
        _registro = Nothing
        _pontuacao = Nothing
        _tipo_ocorrencia = Nothing
        _data_alteracao = Nothing

    End Sub

    '-------------------------------------
    ' MÉTODO CONSTRUTOR COM PARAMETROS
    '-------------------------------------

    Sub New(ByVal id_pontuacao As Integer, _
            ByVal usuario As usuarioVO, _
            ByVal registro As registroVO, _
            ByVal pontuacao As Integer, _
            ByVal tipo_ocorrencia As String, _
            ByVal data_alteracao As DateTime)

        _id_pontuacao = id_pontuacao
        _usuario = usuario
        _registro = registro
        _pontuacao = pontuacao
        _tipo_ocorrencia = tipo_ocorrencia
        _data_alteracao = data_alteracao

    End Sub

    Public Property ID_PONTUACAO() As Integer
        Get

            Return _id_pontuacao

        End Get
        Set(ByVal value As Integer)

            _id_pontuacao = value

        End Set
    End Property

    Public Property USUARIO() As usuarioVO
        Get

            Return _usuario

        End Get
        Set(ByVal value As usuarioVO)

            _usuario = value

        End Set
    End Property


    Public Property REGISTRO() As registroVO
        Get

            Return _registro

        End Get
        Set(ByVal value As registroVO)

            _registro = value

        End Set
    End Property


    Public Property PONTUACAO() As Integer
        Get

            Return _pontuacao

        End Get
        Set(ByVal value As Integer)

            _pontuacao = value

        End Set
    End Property
    Public Property TIPO_OCORRENCIA() As String
        Get

            Return _tipo_ocorrencia

        End Get
        Set(ByVal value As String)

            _tipo_ocorrencia = value

        End Set
    End Property
    Public Property DATA_ALTERACAO() As DateTime
        Get
            Return _data_alteracao
        End Get
        Set(ByVal value As DateTime)
            _data_alteracao = value
        End Set
    End Property
End Class
